package com.qf.shop.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ Author     ：lzq.
 * @ Date       ：Created in 9:26 2020/10/21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryUser {
    private String name;
    private String sex = "-1";
    private Integer status = -1 ;
    // yyyy 和 YYYY(按周算年，可能会出错) 的区别.
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date end;
    private String email;

}
